{% extends "site.html" %}
{% load tags %}
{% block body %}
<div id="container">
  {% block header %}
    <div id="header">
      <span id="title"><a href="/">PAO - Projektų Apskaitos Organizavimas</a></span>
      {% block info %}
        <div id="infobar">
            Sveiki, {{ username }} |
            <a href="/password/change">Pasikeisti slaptažodį</a> |
            <a href="/logout">Atsijungti</a>
        </div>
      {% endblock %}
    </div>
  {% endblock%}
  
  {% block sidebar %}
    <div id="menu">
      {% block menu %}
        {% include "menu.html" %}
      {% endblock %}
    </div>
  {% endblock %}
  
  <div id="content">
    <div id="contentTop">
      {% block path %}{% include "path.html" %}{% endblock %}
      <div id="buttonContainer">
        <input type="button" value="Pagalba" onclick=
        {% if path|startswith:'/enterprise'%}"help('enterprise');"{% endif %}
        {% if path|startswith:'/department'%}"help('department');"{% endif %}
        {% if path|startswith:'/project'%}"help('project');"{% endif %}
        {% if path|startswith:'/personal'%}"help('personal');"{% endif %}
        />
        <input type="button" value="Spausdinti" onclick="window.print()" />
      </div>
      <div id="pickDate">{% block pickDate %}{% endblock %}</div>
    </div>
    {% block content %}{% endblock %}
  </div>
</div>
<script src="/js/GET.js" type="text/javascript"></script>
<script src="/js/helper.js" type="text/javascript"></script>
<script src="/js/monthPicker.js" typet="text/javascript"></script>
<script src="/js/sorttable.js" type="text/javascript"></script>
</body>
{% endblock %}
